using System;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace bookmeetingroom.ViewModel
{
    public class TokenViewModel
    {

        [JsonProperty("access_token")]
        public string AccessToken { get; set; }

        [JsonProperty("access_token_expiration")]
        public DateTime AccessTokenExpiration { get; set; }
        public string UserName { get; set; }

        public IEnumerable<string> Roles { get; set; }
        public string Avatar { get; internal set; }
        public string FullName { get; internal set; }
    }
}